package xin.yangshuai.auth01.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class IndexController {

    @RequestMapping
    @ResponseBody
    public String index() {
        return "hello world auth";
    }

    @RequestMapping("login")
    public String login() {
        return "login";
    }

}